public class Tedu {
    public static void main(String[] args) {
        String regx = "\\d{1}";
        String str = "abc3abc44abc555abc";
        str = str.replaceAll(regx, "");
        str = str.replaceAll(regx, "#");
        System.out.println(str);
    }
}
